Server clustering in a computing-on-demand system

ABSTRACT

A device may provision two or more servers, each of the servers including a network interface. In addition, the device may enable the network interface in each of the provisioned servers, create a shared volume, assign the shared volume to each of the provisioned servers, and enable a clustering application on each of the provisioned servers to form a cluster comprising the provisioned servers, the cluster having a heartbeat via the network interfaces.

RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.12/940,682, filed on Nov. 5, 2010, the disclosure of which isincorporated herein by reference.

BACKGROUND INFORMATION

An in-house system developer may sometimes purchase and stage devices tobuild a system. When purchasing the devices, the system developer mayevaluate device specifications, price, and/or equipment compatibility inlight of particular project requirements. When staging the devices, thesystem developer may install operating systems, applications, databasesand web servers, may apply patches, and/or may configure the devices.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating an exemplary network in which conceptsdescribed herein may be implemented;

FIG. 2 is a block diagram of an exemplary network device shown in FIG.1;

FIG. 3 is a block diagram illustrating exemplary functional componentsof the network devices shown in FIG. 2;

FIG. 4 illustrates interaction between a user device, VMM controldevice, hypervisor group, and storage device of FIG. 1 for provisioningand/or managing resources;

FIGS. 5A and 5B are lists of exemplary resources functions that one ormore devices of FIG. 1 may support for provisioning and/or managingclusters;

FIG. 6 is a diagram illustrating exemplary relationship between anexemplary cluster object and other exemplary objects that are managed bya resource management device of FIG. 1;

FIG. 7A is a diagram of an exemplary cluster that the system of FIG. 1may provision;

FIG. 7B illustrates fencing a server;

FIG. 8 illustrates an exemplary view of an exemplary web-based userinterface associated with provisioning a cluster;

FIG. 9 is a flow diagram of an exemplary process that is associated withprovisioning an exemplary cluster; and

FIG. 10 is a flow diagram of an exemplary process that is associatedwith assigning a volume or a drive to a node in the cluster of FIG. 8.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The following detailed description refers to the accompanying drawings.The same reference numbers in different drawings may identify the sameor similar elements.

As described below, a system may provision both virtual resources andphysical resources. When a user wishes to obtain computing resources(e.g., a network, a server, an application, a web server, etc.), theuser may connect to an integrated provisioning system via a web portal.Once connected via a web interface, the user may input parameters thatdescribe the desired resources. Based on the parameters, the integratedresource provisioning system may provision and allocate virtual and/orphysical resources with or without manual intervention from a systemadministrator or an operator.

In some implementations, the integrated resource provisioning system mayprovision and allocate clusters. Each cluster may include at least onestandby device and remaining active devices that are interconnected viaa heartbeat network. When one of the active devices in the clusterfails, the standby device may become active, replacing the failed deviceto ensure high availability of the cluster. Furthermore, to prevent thefailed device from corrupting a storage device that is shared among theactive devices, the integrated resource provisioning system may fencethe failed device.

FIG. 1 is a diagram illustrating an exemplary network in which conceptsdescribed herein may be implemented. In one implementation, network 100may include one or more wired and/or wireless networks that are capableof exchanging information, such as voice, video, data, multimediainformation, text, etc. For example, network 100 may include one or morepublic switched telephone networks (PSTNs) or another type of switchednetwork. Network 100 may also include one or more wireless networks andmay include a number of transmission towers for receiving wirelesssignals and relaying the received signals toward the intendeddestination. Network 100 may further include one or more packet switchednetworks, such as an Internet Protocol (IP) based network, a local areanetwork (LAN), a wide area network (WAN), a personal area network (PAN),an intranet, the Internet, or another type of network that is capable ofexchanging information.

As shown, network 100 may include a presentation network 102, resourcemanagement network 104, workflow network 106, virtual system network108, inventory management network 110, and physical resource network112. For simplicity, network 100 of FIG. 1 does not show other networksor network components, such as bridges, routers, switches, wirelessdevices, etc. Depending on the implementation, network 100 may includeadditional, fewer, or different networks and/or network components.

Presentation network 102 may include devices that interact with usersand system administrators. As further shown in FIG. 1, presentationnetwork 102 may include an administrator portal device 102-1 and a userportal device 102-2. Administrator portal device 102-1 may interact withand relay information between a system administrator device, shown asitem 120, and resource management network 104. Through the interaction,system administrator device 120 may perform system/networkadministration tasks (e.g., managing user accounts, performing an actionthat a user is not authorized to perform, manage a resource such as acluster, etc.).

User portal device 102-2 may interact with and relay information betweena user device, illustrated as item 130, and resource management network104. User device 130 may access provisioning services that are availablevia user portal device 102-2. For example, user device 130 may requestresource management network 104 to provision or create a cluster,provision a server, or clone a virtual server.

Resource management network 104 may provide provisioning services andinformation pertaining to resources in networks 102-112. In providingthe provisioning services/the information, resource management network104 may track pools of resources that are available to user device 130,reserve a portion of the resources based on a request from user device130, and allocate and configure the reserved resources to a user at userdevice 130. In addition, resource management network 104 may deallocatethe resources (e.g., return the portion to the pool) when user device130 indicates that the user does not need the resources. In addition,resource management network 104 may provide support for administrativetasks (e.g., administer users perform resource allocation tasks that auser is not authorized to perform, etc.). The services that resourcemanagement network 104 provides may be associated with a cluster, suchas provisioning a cluster, creating a cluster, de-provisioning acluster, etc.

As further shown in FIG. 1, resource management network 104 may includea job database device 104-1, resource manager database 104-2, andresource management device 104-3. Job database device 104-1 may receivea job description (e.g., a list of tasks) from resource managementdevice 104-3 and store it in an active job queue until the job isperformed. Resource manager database 104-2 may store and/or retrieveconfiguration/usage data pertaining to a particular user and/or otherbookkeeping information.

Resource management device 104-3 may receive requests for services fromadministrator/user device 120/130 via portal devices 102-1 and 102-2,and render the requested services. In rendering the services, resourcemanagement device 104-3 may execute functions that are listed in FIGS.5A and 5B.

The services that resource management device 104-3 renders may includeprovisioning/de-provisioning resources based on inventory informationprovided by inventory management network 110. To provision/de-provisionthe resources (e.g., cluster), resource management device 104-3 maycreate a description of a job based on: user input relayed by userportal device 102-2; user configuration; and/or available resources.Resource management device 104-3 may handoff the job description to jobdatabase device 104-1, to be placed in the active job queue. In someimplementations, resource management device 104-3 may provision multipleservers, allocate Internet Protocol (IP) addresses to the servers,provision a storage space shared by the servers, and create a clusterfrom the servers.

In providing the services, resource management device 104-3 may manageresource objects that correspond to physical or virtual resources innetworks 102-112. Thus, for example, when user device 130 requestsinformation relating to a physical server, via user portal device 102-2,resource management device 104-3 may provide user device 130 withinformation from the resource object representing the physical server.Resource management device 104-3 may receive data for instantiating theresource objects from one or more databases in networks 102-112 (e.g., adatabase in network 110).

Workflow network 106 may perform jobs whose descriptions are in theactive job queue at job database device 104-1. Once the job isperformed, workflow network 106 may instruct job database device 104-1to de-queue the job description (e.g., provisioning a server, creating acluster, etc.). As further shown in FIG. 1, workflow network 106 mayinclude a workflow engine device 106-1, virtual machine management (VMM)control device 106-2, network management device 106-3, and resourcelifecycle management device 106-4.

Workflow engine device 106-1 may perform subtasks of a job as defined bya job description in the active job queue at job database device 104-1.In one implementation, workflow engine device 106-1 may poll the activejob queue to detect the job description. Workflow engine device 106-1may request job database device 104-1 to remove the job description fromthe queue when the subtasks are completed.

In driving/performing each of the subtasks of a job, workflow enginedevice 106-1 may employ VMM control device 106-2, network managementdevice 106-3, and/or resource lifecycle management device 106-4. Each ofthe subtasks in the job description may entail allocation, deallocation,controlling, and/or monitoring of virtual resources, physical resources,and/or network resources. For example, assume that user device 130requests resource management device 104-3 to allocate a virtual machine.In response, resource management device 104-3 may create a jobdescription that includes subtasks for creating a virtual machine, andplace the job description at job database device 104-1. When workflowengine device 106-1 is about to perform the subtasks associated withcreating the virtual machine, workflow engine device 106-1 may dispatchone or more requests for performing virtual machine-related functions toVMM control device 106-2 (e.g., a request to create the virtual machine,clone a virtual machine, etc.).

VMM control device 106-2, upon receiving requests from workflow enginedevice 106-1, may control and/or monitor one or more virtual machines byinteracting with hypervisors. The term “hypervisor,” as used herein, mayrefer to a program that monitors, creates, runs, removes, and/orcontrols a virtual machine (e.g., controls a lifecycle of a virtualmachine) on a physical device. For example, when VMM control device106-2 receives a request to create a virtual machine from workflowengine device 106-1, VMM control device 106-2 may issue a command to ahypervisor. The hypervisor may create the virtual machine on the hostdevice.

Network management device 106-3 may perform network configurationfunctions on behalf of workflow engine device 106-1. The functions mayinclude configuring network infrastructure components. FIG. 1 shows anumber of different types of network objects that network managementdevice 106-3 may manage, such as, for example, a virtual load balancer108-4, virtual LAN 108-5, and virtual firewall 108-6. Virtual loadbalancer 108-4, virtual LAN 108-5, and virtual firewall 108-6 arefurther described below.

Resource lifecycle management device 106-4 may perform subtasks forprovisioning a physical hardware device for the user. For example,resource lifecycle management device 106-4 may install an operatingsystem on a server, install an application, etc. As shown in FIG. 1,resource lifecycle management device 106-4 may act on physical serverdevices 112-1 through 112-3 as well as virtual machines 108-2, asdescribed below.

Virtual system network 108 may include devices and/or components forhosting and implementing virtual machine-related and networkcomponent-related resources that may be provisioned for the user. Asshown, these resources may include a hypervisor group 108-1, virtualmachines 108-2, logical volume 108-3, virtual load balancer 108-4,virtual LAN 108-5, and virtual firewall 108-6.

Hypervisor group 108-1 may include a logical group of hypervisors and ahypervisor manager (not shown). When hypervisor group 108-1 receives acommand or a request from VMM control device 106-2 (e.g., create avirtual machine), the hypervisor manager may issue a command/request toa hypervisor. The hypervisor may then create the virtual machine on ahost device on which the hypervisor is installed. Depending on theimplementation, the hypervisor may be hosted on a hardware devicewithout an operating system, or alternatively, may be hosted as asoftware component running on top of an operating system.

Virtual machines 108-2 may include a software emulation of a computersystem (e.g., a server, a personal computer, etc.). Each virtual machine108-2 may be instantiated, removed, and managed by a hypervisor. Oncecreated, user device 130 may utilize virtual machine 108-2 as if it werea physical device.

Logical volume 108-3 may include storage on a network (e.g., networkattached storage (NAS), a disk on storage area network (SAN), etc.).Local volume 108-3 may be allocated as a resource by workflow engine106-1. Once allocated, logical volume 108-1 may be mounted on a mountpoint on a virtual machine and used as storage (e.g., a file system,swap space, etc.). Virtual load balancer 108-4 may include an emulationof a load balancer, and may be instantiated or removed upon demand fromuser device 130. The user may configure virtual load balancer 108-4 suchthat network traffic is distributed over the virtual and/or physicalresources in accordance with specified thresholds (e.g., send 40% ofnetwork traffic to one of virtual machines 108-2 and 60% of networktraffic to the other virtual machine).

Virtual LAN 108-5 may be created upon demand from user device 130. Userdevice 130 may configure and place selected virtual and physicalresources on specific virtual LAN 108-5. Virtual firewall 108-6 mayinclude an emulation of a physical firewall, and may be instantiated ordeleted upon demand from user device 130. Once provisioned, virtualfirewall 108-6 may be attached to virtual LAN 108-5 to protect thevirtual and/or physical resources against undesired network traffic.

Inventory management network 110 may track inventory of networkresources and provide inventory information to resource managementnetwork 104. As further shown in FIG. 1, inventory management network110 may include IP address management device 110-1, data warehousedevice 110-2, and an inventory management device 110-3.

IP address management device 110-1 may provision an IP address from apool of IP addresses. In one implementation, in provisioning an IPaddress, IP address management device 110-1 may take into accountnetwork address translation schemes to identify which VLAN the IPaddress belongs to, such that an IP address conflict does not arisewithin the VLAN. When IP address management device 110-1 de-provisionsan IP address, IP address management device 110-1 may return the IPaddress to the pool of IP addresses.

Data warehouse device 110-2 may include a database of inventory ofresources that are available for provisioning, resources that have beenprovisioned for the user, and configuration management information. Whena resource is added to a pool, is provisioned, or is de-provisioned,data warehouse device 110-2 may update/record the information (e.g.,inventory information) about the resource in the database. In addition,data warehouse device 110-2 may write and insert data associated withconfiguration (e.g., a version of an operating system that is installedon a provisioned physical server, an IP address, etc.) into the databasewhen the resource configuration changes.

Inventory management device 110-3 may obtain inventory and configurationrelated information by monitoring physical devices, and pass theinformation to data warehouse device 110-2.

Physical resource network 112 may include physical resources. Thesephysical resources may be provisioned/de-provisioned upon a request fromresource lifecycle management device 106-4. When physical resources inphysical resource network 112 are provisioned/de-provisioned, resourcelifecycle management device 106-4 or inventory management device 110-3may update data warehouse device 110-2 with information about theprovisioning and configuration information.

As further shown in FIG. 1, physical resource network 112 may includephysical resources 112-1 through 112-3 (individually referred to asphysical resource 112 and collectively as physical resources 112),logical volume 112-4, and storage device 112-5. Physical resource 112may include a physical device or a component that may be provisioned viaresource lifecycle management device 106-4. Logical volume 112-4 mayinclude similar component as logical volume 108-3, and may operatesimilarly. Unlike logical volume 108-3 that is mounted on a virtualmachine, however, logical volume 112-3 may be mounted on physicalresource 112. Storage device 112-5 may include storage from whichlogical volumes (e.g., logical volume 108-3 or 112-4) may be allocated.Examples of storage device 112-5 may include a SAN disk and NAS devices.

In FIG. 1, although each of networks 102 through 112 are shown asincluding a number of devices, in an actual implementation, networks 102though 112 may include additional, fewer, or different devices andcomponents than those shown in FIG. 1. In addition, depending on theimplementation, functionalities of each of devices within networks102-112 may be aggregated over fewer devices or distributed overadditional devices. For example, in one implementation, functionalitiesof devices 112-1 through 112-3 in resource management network 112 may beprovided by a single server device.

FIG. 2 is a block diagram of an exemplary network device 200. Networkdevice 200 may be used to implement each of the devices in networks 102through 112. In addition, network device 200 may also be used toimplement components of a cluster. As shown in FIG. 2, network device200 may include a processor 202, memory 204, storage unit 206, inputcomponent 208, output component 210, communication interface 212, andbus 214.

Processor 202 may include one or more processors, microprocessors,application specific integrated circuits (ASICs), field programmablegate arrays (FPGAs), or other processing logic that may interpret andexecute instructions. Memory 204 may include static memory, such as readonly memory (ROM), and/or dynamic memory, such as random access memory(RAM) or onboard cache, for storing data and machine-readableinstructions. Storage unit 206 may include a magnetic and/or opticalstorage/recording medium. In some embodiments, storage unit 206 may bemounted under a directory tree or may be mapped to a drive. In someimplementations, storage unit 206 may be part of another network device(e.g., storage device 112-5) or a network (e.g., storage area network(SAN)). Depending on the context, the term “medium,” “memory,”“storage,” “storage device,” “storage medium,” and/or “storage unit” maybe used interchangeably. For example, a “computer-readable storagedevice” or “computer readable storage medium” may refer to both a memoryand/or storage device.

Input component 208 may permit a user to input information to networkdevice 200. Input component 208 may include, for example, a keyboard, akeypad, a mouse, a pen, a microphone, a touch screen, voice recognitionand/or biometric mechanisms, etc. Output component 210 may include amechanism that outputs information to the user. Output component 210 mayinclude, for example, a display, a printer, a speaker, etc. In someimplementations, because network device 200 may operate as a serverdevice, network device 200 may include a minimal number of inputcomponents 208 and output components 210 (e.g., a keyboard and/or aconsole), to minimize cost and to increase robustness.

Communication interface 212 may enable network device 200 or thecomponents of network device 200 to communicate with other devicesand/or systems via a network, and may include one or more networkinterface cards (e.g., an Ethernet interface) for communicating withother devices. In one implementation, communication interface 212, forexample, may be attached to a server blade that hosts processor 202. Bus214 may provide an interface through which components of network device200 can communicate with one another.

In FIG. 2, network device 200 is illustrated as including components202-212 for simplicity and ease of understanding. In an actualimplementation, network device 200 may include additional, fewer, ordifferent components. For example, assuming that network device 200 is avirtual machine, components 202-212 may include virtual components. Inanother example, network device 200 may include one or more powersupplies, fans, motherboards, video cards, etc. In yet another example,the components of network device 200 may be distributed over a network.

FIG. 3 is a block diagram illustrating exemplary functional componentsof network device 200. As shown, network device 200 may include anoperating system 302, application 304, web server 306, and database 308.Depending on the implementation, network device 200 may includeadditional, fewer, or different components than those illustrated inFIG. 3.

Operating system 302 may manage hardware and software resources ofnetwork device 200. Operating system 302 may manage, for example, itsfile system, device drivers, communication resources (e.g., transmissioncontrol protocol (TCP)/IP stack), event notifications, etc.

Application 304 may include software program and/or scripts forrendering services. For example, in resource management device 104-3,application 304 may take the form of one or more programs forprovisioning resources. Other examples of application 304 include aclustering program/application (e.g., an application that resides onservers of a cluster and drive the servers to behave as a cluster), afile transfer protocol (FTP) server, an email server, a telnet server,servlets, Java™ virtual machine (JVM), web containers, C# programs,firewall, components to support Authorization, Authentication andAccounting (AAA), and other applications that either interact withclient applications or operate in stand-alone mode. In addition,application 304 may include a specialized server program, applicationserver, web page, etc.

Web server 306 may include a software application for exchanging webpage related information with one or more browsers and/or clientapplications. Web server 306 may also provide support for otherprotocols, such as Simple Object Access Protocol (SOAP), for invokingobject methods over a network. Database 308 may include records andfiles and may act as an information repository for network device 200.For example, in resource manager database 104-2, database 308 may storeand retrieve configuration/usage data pertaining to a particular user.In another example, database 308 in job database device 104-1 mayimplement persistent queues for storing job descriptions. In suchimplementations, the queue may be robust and, therefore, recoverableupon device failure.

FIG. 4 illustrates interaction between administrator/user device120/130, VMM control device 106-2, hypervisor group 108-1, and storagedevice 112-5 for provisioning and/or managing resources. Theprovisioning may be part of another process, for example, forprovisioning a cluster of virtual servers. Network 404 may be part ofnetwork 100, and may include network or network devices, such as userportal device 102-2, resource management device 104-3, etc.

As further shown in FIG. 4, administrator/user device 120/130 may hostdifferent types of client applications, such as a browser 402-1, customclient application 402-2, and/or terminal 402-3 (e.g., xterm). Browser402-1 may include a web browser (e.g., Internet Explorer, Firefox,Safari, etc.). Custom client application 402-2 may include a softwarecomponent specifically designed for interacting with VMM control device106-2 and/or hypervisor group 108-1. Terminal 402-3 may include acommand line interface based client terminal for remotely accessingdifferent services, such as telnet services, SFTP services, etc.

As further shown in FIG. 4, VMM control device 106-2 may interact withhypervisor group 108-1. Hypervisor group 108-1 may include a hypervisormanager (not shown) and one or more hypervisor devices 406. Inhypervisor group 108-1, the hypervisor manager may administer/controlhypervisor devices 406.

Each hypervisor device 406 may include a hypervisor 408 and virtualmachines 410-1 and 410-2. Although FIG. 4 shows two virtual machines410-1 and 410-2, in an actual implementation, hypervisor device 406 mayinclude fewer or additional virtual machines that are instantiated andmonitored by hypervisor 408.

For storage, each hypervisor device 408 may access logical volumes. Asshown in FIG. 4, the logical volumes may be implemented via storagedevice 112-5. In one implementation, storage device 112-5 may includeSAN disks 412-1, 412-2, 412-3, etc., and NAS devices 414-1, 414-2,414-3, etc.

In FIG. 4, administrator/user device 120/130 may control, monitor,provision, or de-provision resources to a user via browser 402-1.Through different devices (e.g., user portal device 102-2), a user'srequest for a service may reach VMM control device 106-2. VMM controldevice 106-2 may then carry out the user's request by performing a setof functions for managing virtual machines. Other types of requests forservices may reach other devices in network 102-112 in a similar manner.

FIGS. 5A and 5B are lists of exemplary resources and functions that oneor more devices in FIG. 1 may support for provisioning and/or managingclusters. The devices in networks 102-112 may invoke functions 504-1through 516-6 on resources 502-1 through 502-10. For example, when aresource management device 104-3 receives, from user device 130, aservice request to provision a virtual server, resource managementdevice 104-3 may create a virtual machine 502-4 via VMM control device106-2 in hypervisor group 108-1, as illustrated in FIG. 4. In anotherexample, when user device 130 makes a service request to create acluster based on virtual servers, resource management device 104-3 mayexecute function 512-1, as be described below. This may generate a jobdescription for provisioning cluster 502-6, hand off the job descriptionto job database device 104-1, etc.

As further shown in FIG. 5A, resources 502 may include virtual center502-1, data center 502-2, resource pool 502-3, virtual machine 502-4,hypervisor 502-5, cluster 502-6, storage volume 502-7, application502-8, network 502-9, and server 502-10 Virtual center 502-1 may includea collection of hypervisors 408 that are controlled or monitored by ahypervisor manager. Data center 502-2 may include a logical grouping ofhypervisors. Resource pool 502-3 may include a group of hypervisordevices that aggregate CPU and/or memory capacity to be allocated tovirtual machines on demand. Virtual machine 502-4 may include a softwareemulation of a computer system. Hypervisor 502-5 may include a programthat monitors, creates, runs, removes, and/or controls a virtualmachine. Cluster 502-6 may include at least one standby device andactive devices. The standby device may become active when one of theactive devices fail, such that the cluster may continue to operatenormally (e.g., provide services to clients).

Storage volume 502-7 may include a storage unit of given size. Storagevolume 502-7 may include a logical volume. Application 502-8 may includea client program, server program, script, and/or another type ofexecutable software component. Network 502-9 may include a portion ofnetworks 110 and 112. The portion may be provisioned to a user at userdevice 130. Server 502-10 may include a virtual server (e.g., a virtualmachine) or a physical server.

Functions 504 may include list objects function 504-1 and show objectfunction 504-2. List objects function may request VMM control device106-2 to provide a list of resources 502. For example, administratordevice 120 may request VMM control device 106-2 to list virtual center502-1. When VMM control device 106-2 receives the request, VMM controldevice 106-2 may provide a list of names of virtual centers withinnetwork 100. Show object function 504-2 may request VMM control device106-2 to provide details that are related to resource 502. For example,administrator device 120 may request VMM control device 106-2 to show aparticular virtual center 502-1. In response to the request, VMM controldevice 106-2 may provide a version number of the hypervisor manager.

Show functions 506 may include show CPU 506-1, show NIC 506-2, showmemory 506-3, and show disk 506-4. Show functions 506-1 through 506-4may show a CPU usage, network usage, memory usage, and disk usage of acluster, respectively.

Server allocation functions 508 may include create VM 508-1, createreference 508-2, freeze 508-3, unfreeze 508-4, clone 508-5, and update508-6. Create VM 508-1 may create a new virtual machine within a datacenter 502-2. In requesting create VM 508-1, a device may also specifyparameters for the virtual machine, such as the amount of memory for thevirtual machine, number of CPUs to be used for the virtual machine, thename of the virtual machine, etc.

Create reference 508-2 may create a reference virtual server or converta physical server into a reference physical server. As used herein, theterm “reference virtual server” may refer to a virtual server prototype,which may be copied to create identically configured virtual servers,other than few configuration parameters (e.g., an IP address). As usedherein, the term “reference physical server” may refer to a physicalserver prototype that may be used as a basis upon which other physicalserver devices may be identically configured, except for fewconfiguration parameters (e.g., IP address). Freeze 508-3 may shutdown avirtual or physical server and may prepare or “prime” thevirtual/physical server for duplication. Unfreeze 508-4 may resume theoperation of a frozen virtual/physical server. Clone 508-5 may create acopy of a frozen, reference virtual server, or alternatively, mayconfigure a physical server similarly as a frozen, reference physicalserver. Update 508-6 may update a reference virtual/physical server.

Shown in FIG. 5B, select functions 510 may identify a specific resource502 among a group of resources 502. As shown, select functions 510 mayinclude select least used cluster 510-1, select most used cluster 510-2,and select host system 510-3. Select least used cluster 510-1 and selectmost used cluster 510-2 may identify a cluster that is least used and acluster that is most used within a portion of network 100. Select hostsystem 510-3 may select an unused physical device in network 100 forhosting a hypervisor.

Cluster management functions 512 may include cluster create 512-1,cluster update 512-2, cluster read 512-3, cluster delete 512-4, clusterprovision 512-5, and cluster de-provision 512-4. Cluster create 512-1may create a cluster from one or more provisioned servers and storagedevices (e.g., install and run clustering program/application on theprovisioned servers). Cluster update 512-2 may modify an existingcluster. Cluster read 512-3 may obtain information about one or moreidentified clusters. Cluster delete 512-4 may delete an identifiedcluster. Cluster provision/de-provision 512-5 and 512-6 may provision orde-provision a cluster.

Cluster storage management functions 514 and cluster applicationmanagement functions 516 may perform similar functions as clustermanagement functions 512, but applicable to one or more storage volumesand applications rather than to clusters.

In FIGS. 5A and 5B, resources 502-1 through 502-10 and functions 504-1through 516-6 are illustrated for simplicity. Depending on theimplementation, networks 102-112 may include and/or support additional,fewer, or different types of resources and functions. For example, othertypes of resources may include machine access control (MAC) addressesand IP addresses.

In tracking, managing, provisioning, and/or de-provisioning one or moreresources 502 in networks 102-112, resource management device 104-3 mayinstantiate, use, and/or de-allocate objects that represent resources502 and resource types. Such objects may correspond to differententries/records in databases in networks 102-112.

For example, assume that user device 130 requests a cluster. Inresponse, resource management device 104-3 may provision a cluster,instantiate a cluster object that corresponds to the cluster in itsmemory 204, and create a database record for the cluster object. Whenuser device 130 issues a service request with respect to the clusterobject, resource management device 104-3 may generate a job or task withrespect to the cluster in networks 102-112. Resource management device104-3 may update the cluster object periodically, upon receiving anotification of a change to the state of the cluster in networks102-112, and/or upon being prompted by administrator/user device120/130.

FIG. 6 is a diagram illustrating an exemplary relationship between anexemplary cluster object and other exemplary objects that areinstantiated in or are managed by resource management device 104-3. Asindicated above, each of objects 602-616 may correspond to anentry/record in a database in networks 102-112. As shown, objects602-616 may include network object 602, server object 604, clusterreference object 606, cluster object 608, operating system (OS)reference object 610, storage volume object 612, application referenceobject 614, and application object 616.

Network object 602 may correspond to or represent a network in networks108 and 112. Network object 602 may include fields for holding a networkID, network type ID (e.g., demilitarized zone (DMZ), Trust, etc.),virtual LAN ID (VLAN ID), and network gateway (a device via which thenetwork corresponding to network object 602 can be reached or accessed).

Server object 604 may correspond to or represent a virtual or physicalserver in networks 102-112. Server object 604 may include fields forholding a server ID, server group ID (e.g., a group of servers to whichthe server corresponding to server object 604 belongs), hostname (e.g.,the name of the server), and IP address (e.g., an IP address assigned tothe server).

Cluster reference object 606 may correspond to or represent differentcluster types. Cluster reference object 606 may include fields forcluster reference ID, cluster version (e.g., the version of clusteringprogram to be installed on nodes of the cluster), OS ID (e.g.,identifier for the operating system that is installed on each of thenodes of a cluster type), and max nodes (e.g., the maximum number ofnodes in the cluster type (e.g., two)).

Cluster object 608 may correspond to or represent a cluster. Clusterobject 608 may include fields for a cluster ID, cluster reference ID(e.g., identifier for the type of cluster to which cluster object 608belongs), node count (e.g., the actual number of nodes in the cluster),cluster name (e.g., the name of the cluster), node configuration mask(e.g., field indicating states (e.g., active, standby, failed, etc.) ofthe servers in the cluster), and cluster network ID (e.g., an identifierassociated with the network in which the cluster resides).

OS reference object 610 may correspond to or represent a type ofoperating system. OS reference object 510 may include fields for a OSreference ID, OS type (e.g., Windows, Linux, HP-UX, OS X, etc.), OSVersion, and VM Guest OS reference ID (e.g., an identifier associatedwith the operating system running on a virtual machine).

Storage volume object 612 may correspond to or represent a logicalvolume in network 108 or 112. Storage volume object 612 may includefields for a storage volume ID, server ID (e.g., identifier or theserver on which the storage volume is mounted or belongs to), logicalunit (LUN) ID, mount point (e.g., the name of a directory), a label(e.g., a string associated with a particular volume), and size (e.g.,the size of the storage volume).

Application reference object 614 may correspond to or represent a typeof application. Application reference object 614 may include fields foran application reference ID, application version (e.g., Firefox version3.6), application-requires-reboot (e.g., a field that indicates whetheran installation of the application requires a reboot of the server onwhich the application is installed), application requires free memory(e.g., the amount of free memory the application needs in order to beexecuted), and cluster name (e.g., the name of a cluster to which theapplication may belong).

Application object 616 may correspond to or represent an applicationinstalled on a server. Application object 616 may include fields for anapplication ID, server ID (e.g., the identifier of the server on whichthe application may be installed), application configuration ID (e.g.,identifier associated with a configuration of the application),application reference ID (e.g., an ID of the application referenceobject that represents the type of the application corresponding toapplication object 616, application name, and cluster ID (e.g., theidentifier of the cluster to which the application may belong).

In FIG. 6, objects 602-616 are interrelated as indicated by arrows. Eacharrow indicates that a field in one object may refer to another object.For example, server object 604 refers to network object 602, andtherefore includes fields for network ID. By the interrelationshipillustrated in FIG. 6, resource management device 104-3 may identify,based on one object, other interrelated objects.

Although resource management device 104-3 may host other types ofobjects with different relationships than those illustrated in FIG. 6,they are not illustrated for simplicity. In addition, each of objects602-616 may include additional fields. Again, these are not illustratedfor simplicity. Furthermore, depending on the implementation, resourcemanagement device 104-3 (or another device) may host additional, fewer,or different types objects than those illustrated in FIG. 6.

FIG. 7A is a diagram of an exemplary cluster 714 that networks 102-112may provision. As shown in FIG. 7A, a user may be provisioned withconnectivity to the Internet 702, administration network 704, loadbalancer 708, firewall/router 710, virtual machines 712-1 through 712-3,cluster 714 that includes physical server devices 714-1 and 714-2,storage device 716, and fiber channels 718-1 and 718-2.

Administration network 704 may provide services such as a backupservice, security service, billing, etc. Load balancer 708 may balancenetwork traffic over different devices (e.g., load balance betweenvirtual machines 712-1 through 712-3 and physical server devices 714-1and 714-2). Firewall/router 710 may safeguard virtual server devices712-1 through 712-3 and physical server devices 714-1 and 714-2 fromoutside networks via enforcement of firewall security rules and/ornetwork address translation (NAT). Virtual machines 712-1 through 712-3may host applications in virtual environments.

Cluster 714 may include physical server devices 714-1 and 714-2, each ofwhich may host cluster program/application, operating system,application, etc. In cluster 714, one of two server devices 714-1 and714-2 may be active, and the other server device may be on the standbymode. As two server devices 714-1 and 714-2 are in communication withone another via heartbeat signals on a heartbeat network (not shown),should one of the two devices fail, the standby device detects that theheartbeat signal from the other server device is no longer present.Consequently, the standby device becomes active, ensuring highavailability of applications running on cluster 714.

In FIG. 7A, each of physical server devices 714-1 and 714-2 include ashared storage volume (e.g., a storage volume common to server devices714-1 and 714-2) as well as non-shared volumes. The shared/non-sharedstorage volumes are included in storage device 716, which may beaccessed by cluster 714 via one of two channels 718-1 and 718-2.Channels 718-1 and 718-2 are provided for redundancy in case of a fiberchannel failure, for example.

When one of two server devices 714-1 and 714-2 fails, it is possible forthe failed server device to write to the shared storage volume, whichmay include critical data or applications. In some implementations,networks 102-114 may provide for a mechanism to prevent the faileddevice from writing to the shared volume. For example, in oneimplementation, cluster 714 may fence the failed server by powering itdown upon receipt of a signal from the currently active server.

FIG. 7B is a diagram that illustrates fencing a server. As shown, serverdevices 714-1 and 714-2 of cluster 714 are attached to a shared volume754 and a power controller 756. Power controller 756 controls whetherpower is delivered to each of server devices 714-1 and 714-2 in cluster714.

When a server device in cluster 714 fails (e.g., server device 714-1),the standby server device (e.g., server device 714-2) becomes active andsends a message (e.g., a web service call via SOAP) to power controller756. In response, power controller 756 shuts down the failed server,hence safeguarding shared volume 756 from corruption by the failedserver.

FIG. 8 illustrates a view 800 of an exemplary web-based user interfacefor provisioning a cluster. More specifically, view 800 shows a web pagefor provisioning servers for a cluster. Some features of a typical webbrowser, such as a navigation bar, etc., are not illustrated forsimplicity.

As shown, the web page may include a side pane 802 and a main pane 804.Side pane 802 may include a list of servers and jobs that are pending(e.g., installing an operating system for a server being provisioned).Main pane 804 may include menu bar 806, short cut buttons 808, andserver display 810. Menu bar 806 may provide links to other web pages,such as “Home,” “Reporting,” or “Support” page. Short cut buttons 808include buttons for executing commands “deprovision” or “get password.”Server display 810 may illustrate servers that are currently accessibleor are being provisioned. Depending on the implementation, the web pagemay include additional, fewer, or different features than those shown inFIG. 8, such as a selection button or a menu item for requesting acluster provisioning.

FIG. 9 is a flow diagram of an exemplary process 900 that is associatedwith provisioning a cluster. Assume that administrator/user device120/130 has sent a request to resource management device 104-3 toprovision a cluster. In response, resource management device 104-3 maysubmit jobs/tasks, to job database device 104-1, to provision therequested resource. Workflow engine device 106-1 may drive theperformance of each of the submitted jobs and de-queue the performedjobs from the jobs database device 104-1.

Workflow engine device 106-1 may provision two or more servers (block902). Depending on the user input, the servers may include a specificnumber of physical or virtual servers, a specific operating system,operating system configuration, a number of network interface cards,etc.

Workflow engine device 106-1 may enable a second network interface cardin each of the provisioned servers (block 904). The second networkinterface card in each of the servers may be attached to a heartbeatnetwork, either at block 904 or at another block (e.g., block 914).

Workflow engine device 106-1 may create a quorum disk (block 906). Thequorum disk may include a storage volume that is shared by theprovisioned servers. The quorum storage volume may include a data orapplication for a standby server in the cluster to control when one ormore of the active servers of the cluster fail.

Workflow engine device 106-1 may assign, for each of the servers, ashared volume/drive corresponding to the quorum disk (block 908). Thisis described below in greater detail with reference to FIG. 10.

Workflow engine device 106-1 may create/generate a cluster name (block910) and reserve an IP address for the cluster. Furthermore, workflowengine device 106-1 may enter the name and the IP address in a domainname system (DNS) server (not shown) (block 912).

Workflow engine device 106-1 may complete creating the cluster (block914). Completing the cluster creation may include installing and/oractivating clustering application/program on the servers (which mayinclude causing the servers to send heartbeat signals to one another),configuring the cluster application/program, attaching the second NICenabled at block 904 to a heartbeat network, etc.

FIG. 10 is a flow diagram of an exemplary process that is associatedwith assigning a volume or a drive to a node in the cluster of FIG. 9.As shown, process 1000 may begin with creating a new volume from thequorum disk created at block 906 (block 1002). The volume may belogical.

Workflow engine device 104-3 may execute a script to create a logicalunit (LUN) map to a server hostname (block 1004). For example, a scriptor program may build a LUN on the logical volume, creating a record. TheLUN record may be exported or presented to the server.

Each of the server devices for the cluster may rescan its disks (block1006). In some operating systems (e.g., Linux), rescanning the disk mayinclude scanning fiber channel buses. After the rescan, at least one ofthe server devices of the cluster may format the drive (block 1008). Forsome operating systems, formatting the drive may include creating a disklabel and partition, creating a file system on the disk, inserting thename of the file system in a configuration file (e.g., /etc/fstab file)in the server device, and mounting the file system. For other operatingsystems, formatting the disk may include partitioning the disk, andassigning a driver letter and label to the disk. Process 1000 may berepeated for remaining servers of the cluster, until each of the serverscan access the shared drive (except the standby server).

In the foregoing description, networks 102-112 may provision bothvirtual resources and physical resources. When a user wishes to obtaincomputing resources (e.g., a network, a server, an application, a webserver, a cluster, etc.), the user may connect to an integratedprovisioning system via a web portal. Once connected via a webinterface, the user may input parameters that describe the desiredresources. Based on the parameters, the integrated resource provisioningsystem may provision and allocate virtual and/or physical resources withor without manual intervention from a system administrator or anoperator.

In some implementations, the integrated resource provisioning system mayprovision and allocate clusters. Each cluster may include at least onestandby device and remaining active devices that are interconnected viaa heartbeat network. When one of the active devices in the clusterfails, the standby device may become active, replacing the failed deviceto ensure high availability of the cluster. Furthermore, to prevent thefailed device from corrupting a storage device shared among the activedevices, the integrated resource provisioning system fence the faileddevice.

The foregoing description of exemplary implementations providesillustration and description, but is not intended to be exhaustive or tolimit the embodiments described herein to the precise form disclosed.Modifications and variations are possible in light of the aboveteachings or may be acquired from practice of the embodiments.

Further, while series of acts have been described with respect to FIGS.9 and 10, the order of the acts may be varied in other implementations.Moreover, non-dependent acts may be implemented in parallel.Furthermore, in other implementations, processes 900 and 1000 mayinclude additional, fewer, or different acts than the ones illustratedin and discussed with references to FIGS. 9 and 10.

It will also be apparent that various features described above may beimplemented in many different forms of software, firmware, and hardwarein the implementations illustrated in the figures. The actual softwarecode or specialized control hardware used to implement the variousfeatures is not limiting. Thus, the operation and behavior of thefeatures of the invention were described without reference to thespecific software code—it being understood that one would be able todesign software and control hardware to implement the various featuresbased on the description herein.

Further, certain features described above may be implemented as “logic”that performs one or more functions. This logic may include hardware,such as one or more processors, microprocessors, application specificintegrated circuits, or field programmable gate arrays, software, or acombination of hardware and software.

In the preceding specification, various preferred embodiments have beendescribed with reference to the accompanying drawings. It will, however,be evident that various modifications and changes may be made thereto,and additional embodiments may be implemented, without departing fromthe broader scope of the invention as set forth in the claims thatfollow. The specification and drawings are accordingly to be regarded inan illustrative rather than restrictive sense.

No element, act, or instruction used in the description of the presentapplication should be construed as critical or essential to theinvention unless explicitly described as such. Also, as used herein, thearticle “a” is intended to include one or more items. Further, thephrase “based on” is intended to mean “based, at least in part, on”unless explicitly stated otherwise.

What is claimed is:
 1. A method comprising: receiving, at a portaldevice and from a client application, a user request to provision acluster, wherein the client application includes a browser;provisioning, by at least one device in response to the request, two ormore servers, each of the servers including a corresponding networkinterface; enabling, by at least one device, the corresponding networkinterface in each of the provisioned servers; creating, by at least onedevice, a shared volume; assigning, by at least one device, the sharedvolume to each of the provisioned servers; enabling a clusteringapplication on each of the provisioned servers, wherein the enabledclustering application creates the cluster comprising the provisionedservers, the cluster having a heartbeat via the network interfaces; andfencing, via a power control device, one of the two or more servers whena different one of the two or more servers fails.
 2. The method of claim1, further comprising at least one of: updating the cluster.
 3. Themethod of claim 1, further comprising one of: selecting a least usedcluster; or selecting a most used cluster.
 4. The method of claim 1,wherein provisioning the two or more servers comprise: creating two ormore virtual servers by cloning the two or more virtual servers.
 5. Themethod of claim 1, further comprising: installing the clusteringapplication on each of the provisioned servers; and updating theclustering application on each of the provisioned servers.
 6. The methodof claim 1, further comprising: placing a first server of theprovisioned servers in a standby mode; and placing a second server ofthe provisioned servers in an active mode.
 7. The method of claim 6,further comprising: activating the first server when the second serverfails.
 8. The method of claim 6, further comprising: preventing thesecond server from writing to the shared volume.
 9. The method of claim1, wherein assigning the shared volume includes: mapping the sharedvolume to one of the provisioned servers; rescanning the shared volumeat the one of the provisioned servers; and formatting the shared volumeat the one of the provisioned servers.
 10. The method of claim 9,further comprising: mounting the shared volume at a mount point on theone of the provisioned servers; and recording the mount point and anidentifier for the shared volume in a file system table (FSTAB) on theone of the provisioned servers.
 11. The method of claim 1, furthercomprising: creating a cluster name; reserving an Internet Protocol (IP)address for the cluster at a network device; and registering the clustername and the IP address at a domain name server.
 12. The method of claim1, further comprising: de-provisioning the cluster.
 13. A systemcomprising: first logic comprising at least one processor to: generate ajob for provisioning a cluster, wherein the cluster includes at leastone standby device and an active device that are interconnected via aheartbeat network, and wherein in response to a failure of the activedevice, the standby device becomes active and operates in place of thefailed active device; and place the job in a database; second logiccomprising at least one processor to drive an execution of the job inthe database, the job comprising instructions for one or more of devicesin the system to: provision two servers, each of the two serversincluding a network interface; enable the network interface in each ofthe provisioned servers, wherein each of the network interfaces includesat least one of an Ethernet interface or an Internet Protocol (IP)network interface; create a shared volume; assign the shared volume toeach of the provisioned servers; and create a cluster from theprovisioned servers, the cluster having a heartbeat over the networkinterfaces; a portal device to receive a user request to provision thecluster, from a client application on a remote device, wherein theclient application includes a browser; and a power control device forfencing one of the two servers when the one of the two servers fails.14. The system of claim 13, wherein the second logic is furtherconfigured to: de-provision the cluster.
 15. The system of claim 13,wherein the two servers include two virtual machines, and wherein whenthe second logic provisions the two servers, the second logic isconfigured to: clone one of the two virtual servers to create the otherof the two virtual servers.
 16. The system of claim 13, wherein the jobincludes further comprising instructions for the one or more of devicesin the system to: create a cluster name for the cluster; reserve anInternet Protocol (IP) address for the cluster at a network device; andregister the cluster name and the IP address at a domain name server.17. Non-transitory computer-readable media comprising computerexecutable instructions for causing one or more processors to: receive,at a portal device, a user request to provision two or more devices,from a client application on a remote device, wherein the clientapplication includes a browser; provision two or more devices, each ofthe devices including a network interface in response to the userrequest; enable the network interface in each of the provisioneddevices; create a quorum disk; assign a logical volume associated withthe quorum disk to each of the provisioned devices, install a clusteringapplication on each of the provisioned devices, enable the clusteringapplication and a heartbeat between the provisioned devices via thenetwork interfaces in the provisioned devices; and fencing, via a powercontrol device, one of the two or more devices when a different one ofthe two or more devices fails.
 18. The non-transitory computer-readablemedia of claim 17, wherein when the one or more processors provision thetwo or more devices, the one or more processors create two or morevirtual servers by cloning the two or more virtual servers.
 19. Thenon-transitory computer-readable media of claim 17, further comprisingcomputer-executable instructions for causing the one or more processorsto: create a cluster name for the two or more devices; reserve anInternet Protocol (IP) address for the cluster name at a network device;and register the cluster name and the IP address at a domain nameserver.
 20. The non-transitory computer-readable media of claim 17,wherein the computer-executable instructions include furtherinstructions for causing the one or more processors to: instantiate acluster object, in a memory, that corresponds to the two or moredevices.